

#ifndef TCSAPI_LICENSE_H_
#define TCSAPI_LICENSE_H_

#include "../tcsapi/tcs_license.h"

/*
 * 	??License??
 * 	??????,??License??,License?????TPCM????????
 * 	??TPCM????????,??????????
 */
int tcf_generate_license_request(struct license_req *req,const struct license_param *param);

/*
 * 	??License
 * 	?TPCM???????License,???TPCM???
 *	??TPCM????????,??????????
 */
int tcf_import_license(struct license *license);

//int tcs_upgrade_license(struct license *license);

/*
 * 	??License??
 */
int tcf_get_license_status(int *status,int *left);//proc??


/*
 * 	??License??
 */
int tcf_get_license_info(int *status, uint64_t *deadline);

/*
 * 	?????
 * 	?????????,??????????
 */
int tcf_reset_test_license(void);


#endif /* TCSAPI_LICENSE_H_ */
